package com.ruoyi.project.men.dao;


import com.ruoyi.project.men.domain.MenNeedInfoDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 需求详情
 * @author long
 * @email 499626561@qq.com
 * @date 2020-12-25 10:28:26
 */
@Mapper
public interface MenNeedInfoDao {

	MenNeedInfoDO get(String id);
	
	List<MenNeedInfoDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(MenNeedInfoDO menNeedInfo);
	
	int update(MenNeedInfoDO menNeedInfo);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

    List<MenNeedInfoDO> likeList(Map<String,Object> map);

	List<Map<String, Object>> menNeedList(Map<String,Object> map);

    
    int likeListCount(Map<String,Object> map);

    List<Map<String, Object>> getNeedListByTypeId(Map<String, Object> params);

    List<Map<String, Object>> newNeedList(Map<String, Object> params);

    List<Map<String, Object>> getNeedListByTypeIdAndCity(Map<String, Object> params);

	Map<String, Object> getNeedInfo(Map<String, Object> params);

	List<Map<String, Object>> getTodayNeed();

    List<Map<String, Object>> getShopNeed(Map<String, Object> params);

    List<Map<String, Object>> myNeedList(Map<String, Object> params);
}
